package com.mjk.manager.magicapi.core.core.event;


import com.mjk.manager.magicapi.core.core.config.Constants;
import com.mjk.manager.magicapi.core.core.model.MagicNotify;

public class NotifyEvent extends MagicEvent {

    private String id;

    public NotifyEvent(MagicNotify notify) {
        super(notify.getType(), notify.getAction(), Constants.EVENT_SOURCE_NOTIFY);
        this.id = notify.getId();
    }

    public String getId() {
        return id;
    }
}
